import { Module } from '@nestjs/common';
import { SequelizeModule } from '@nestjs/sequelize';
import { TemplateController } from './template_list.controller';
import { TemplateService } from './template_list.service';
import { TemplatesModel } from '@/models/templates.model';
import { JobTemplatesModel } from '@/models/jobTemplates.model';
import { DownloadLog } from '@/models/downloadLog.model';

@Module({
  imports: [
    SequelizeModule.forFeature([
      TemplatesModel,
      JobTemplatesModel,
      DownloadLog,
    ]),
  ],
  controllers: [TemplateController],
  providers: [TemplateService],
  exports: [TemplateService],
})
export class TemplateModule {}
